package org.csmzxy.class2333;

public class Example02 {
    public static void main(String[] args) {
        String s1 = new String();
        System.out.println("s1= " + s1);

        String s2 = new String("abc");
        System.out.println("s2= " + s2);

        char[] chars = {'h', 'e', 'l', 'l', '0'};
        String s3 = new String(chars);
        System.out.println("s3= " + s3);

        byte[] bytes = {97, 98, 99};
        String s4 = new String(bytes);
        System.out.println("s4= " + s4);
    }
}
